package com.yunji.common.constant;

/**
 * @Package 	com.yunji.common.constant
 * FileName:	Constants.java
 * Company:		云集互联
 * @version:	1.0
 * @since:		JDK 1.8.0_202
 * Create at:   2024-04-01 23:24:40
 * Description:
 * 字符常量
 *
 * Modification History:
 * Author					Date					Version     Description
 * ------------------------------------------------------------------------
 * HuaAo            	2024-04-01 23:24:40		1.0			1.0 Version
 */
 
/**
 * @Name    Constants
 * @Desc    字符常量
 * @Author  HuaAo0803@163.com
 * @Date    2024-04-01 23:24:40
 */
public final class Constants
{
    private Constants() { }

    public static final String SUCCESS = "操作成功!";

    public static final String FAILURE = "操作失败!";

    public static final String STR_NULL = "";

    public static final String STR_SPACE = " ";

    // ","
    public static final String STR_COMMA = ",";

    // (
    public static final String STR_L_BRACKET = "(";

    // )
    public static final String STR_R_BRACKET = ")";

    public static final String STR_QUESTION = "?";

    // 管理端后台  用户端
    public static final String USER = "user";

    // 微信小程序  员工端
    public static final String STAFF = "staff";

    // 微信小程序  用户端
    //public static final String WECHAT = "wechat";

    // 请求头Token参数
    public static final String HEAD_TOKEN = "Authorization";

    // 后台用户令牌前缀
    public static final String LOGIN_USER_KEY = "login_user_key";
    // 微信员工令牌前缀
//    public static final String REDIS_STAFF_KEY = "login_user:staff:";
//    // 微信用户令牌前缀
//    public static final String REDIS_WECHAT_KEY = "login_user:wechat:";
//
//    // 用户共同信息前缀
//    public static final String REDIS_USER_KEY = "login_user:common:";

    public static final String REDIS_BELONG_UUID = "login:belong:{}:";

    public static final String SYSTEM_NAME = "COFFEE";
}
